package AutoTraderFraudCalculator;
import java.awt.Dimension;
import javax.swing.*;

public class GraphicalUserInterface 
{
    private static void createAndShowGUI() 
    {
        //Create and set up the window.
        JFrame frame = new JFrame("Auto Trader Fraud Calculator");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
        frame.setLayout(null);
        
        JLabel label = new JLabel("Hello World");
        frame.getContentPane().add(label);
        
        //The upper left corner of the maximized window
        label.setBounds(0, -4, label.getMaximumSize().width, 
                label.getMaximumSize().height);
        
        //label.setLocation(400, 400);
        
        //frame.pack();
        
        //Display the window.
        frame.setVisible(true);
    }
    public static void main(String[] args)
    {
        createAndShowGUI();
    }
}